package com.sf.sms.user.entity;

import com.sf.sms.utils.IdEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 80002004 on 2016/8/29.
 */
public class UserRole extends IdEntity implements Serializable {

    /**用户ID*/
    private Long userId;
    /**角色ID*/
    private Long roleId;
    /**创建时间*/
    private Date createTime;
    /**修改时间*/
    private Date modifyTime;

    public UserRole(Long userId, Long roleId, Date createTime, Date modifyTime) {
        this.userId = userId;
        this.roleId = roleId;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
